package mapper;

import com.sqsf.javabean.User;

import java.util.List;

public interface UserMapper {
    List<User> selectAll();
    List<User> selectByUser(User user);
    List<User> selectByUserOne(User user);
    int updateUser(User user);
    int trimTest();
    //根据数组删除数据
    int deleteByArray(int[] array);
    //根据集合添加数据
    int insertList(List<User> list);
}